package com.xrf;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class ConstructionSiteManagement {
    private Long realTimeProtection;
    private Long singlePicture;
    private Double siteStaffManagement;
    private String addEmployeeInformation;
    private Double projectProgressManagement;
    private String securityAdministration;
    private String securitySystemManagement;
    private String materialWarehousingManagement;
    private Long materialWarehouseManagement;
    private Long materialScrappingManagement;

    private static List<ConstructionSiteManagement> list = new ArrayList<>();
    private static Scanner scanner = new Scanner(System.in);

    public ConstructionSiteManagement() {}

    public ConstructionSiteManagement(Long realTimeProtection, Long singlePicture, Double siteStaffManagement,
                                     String addEmployeeInformation, Double projectProgressManagement,
                                     String securityAdministration, String securitySystemManagement,
                                     String materialWarehousingManagement, Long materialWarehouseManagement,
                                     Long materialScrappingManagement) {
        this.realTimeProtection = realTimeProtection;
        this.singlePicture = singlePicture;
        this.siteStaffManagement = siteStaffManagement;
        this.addEmployeeInformation = addEmployeeInformation;
        this.projectProgressManagement = projectProgressManagement;
        this.securityAdministration = securityAdministration;
        this.securitySystemManagement = securitySystemManagement;
        this.materialWarehousingManagement = materialWarehousingManagement;
        this.materialWarehouseManagement = materialWarehouseManagement;
        this.materialScrappingManagement = materialScrappingManagement;
    }

    // Getter and Setter methods
    public Long getRealTimeProtection() { return realTimeProtection; }
    public void setRealTimeProtection(Long realTimeProtection) { this.realTimeProtection = realTimeProtection; }
    public Long getSinglePicture() { return singlePicture; }
    public void setSinglePicture(Long singlePicture) { this.singlePicture = singlePicture; }
    public Double getSiteStaffManagement() { return siteStaffManagement; }
    public void setSiteStaffManagement(Double siteStaffManagement) { this.siteStaffManagement = siteStaffManagement; }
    public String getAddEmployeeInformation() { return addEmployeeInformation; }
    public void setAddEmployeeInformation(String addEmployeeInformation) { this.addEmployeeInformation = addEmployeeInformation; }
    public Double getProjectProgressManagement() { return projectProgressManagement; }
    public void setProjectProgressManagement(Double projectProgressManagement) { this.projectProgressManagement = projectProgressManagement; }
    public String getSecurityAdministration() { return securityAdministration; }
    public void setSecurityAdministration(String securityAdministration) { this.securityAdministration = securityAdministration; }
    public String getSecuritySystemManagement() { return securitySystemManagement; }
    public void setSecuritySystemManagement(String securitySystemManagement) { this.securitySystemManagement = securitySystemManagement; }
    public String getMaterialWarehousingManagement() { return materialWarehousingManagement; }
    public void setMaterialWarehousingManagement(String materialWarehousingManagement) { this.materialWarehousingManagement = materialWarehousingManagement; }
    public Long getMaterialWarehouseManagement() { return materialWarehouseManagement; }
    public void setMaterialWarehouseManagement(Long materialWarehouseManagement) { this.materialWarehouseManagement = materialWarehouseManagement; }
    public Long getMaterialScrappingManagement() { return materialScrappingManagement; }
    public void setMaterialScrappingManagement(Long materialScrappingManagement) { this.materialScrappingManagement = materialScrappingManagement; }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("实时监控:").append(realTimeProtection).append("\t");
        builder.append("单画面:").append(singlePicture).append("\t");
        builder.append("工地员工管理:").append(siteStaffManagement).append("\t");
        builder.append("添加员工信息:").append(addEmployeeInformation).append("\t");
        builder.append("工程进度管理:").append(projectProgressManagement).append("\t");
        builder.append("安全管理:").append(securityAdministration).append("\t");
        builder.append("安全制度管理:").append(securitySystemManagement).append("\t");
        builder.append("材料入库管理:").append(materialWarehousingManagement).append("\t");
        builder.append("材料出库管理:").append(materialWarehouseManagement).append("\t");
        builder.append("材料报废管理:").append(materialScrappingManagement).append("\t");
        return builder.toString();
    }
}